package com.yunti.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunti.springboot.po.Subject;
import com.yunti.springboot.vo.Result;
import com.yunti.springboot.vo.req.ElectionSubjectReq;
import com.yunti.springboot.vo.req.GetSubjectReq;
import com.yunti.springboot.vo.req.SubjectReq;
import org.springframework.stereotype.Service;

@Service
public interface SubjectService extends IService<Subject> {
    Result getSubjectByYear(GetSubjectReq getSubjectReq);

    Result getAllSubBySemester(Integer semester);

    Result getSubList(ElectionSubjectReq req);

    Result findPage(SubjectReq req);

    Result edit(SubjectReq req);

    Result add(SubjectReq req);

    Result del(SubjectReq req);
}
